contentLength

open fun contentLength(): Long

Returns the value of the Content-Length header. The value equals -1 when there is no such HTTP header in the URL response.